﻿using B.S.Traceability.Domain;
using B.S.Traceability.Error;
using MediatR;

namespace B.S.Traceability.Writer.API.Application.Commends.Slaughter
{
    public class CreateSlaughtersCommends:IRequest<APIResult<Slaughters>>
    {

        public int SlaughterId { get; set; }

        /// <summary>
        /// 生产批次--唯一
        /// </summary>
        public int BatchId { get; set; }


        /// <summary>
        /// 批次
        /// </summary>
        public int Producbatche { get; set; }

        /// <summary>
        /// 到厂均重
        /// </summary>
        public int FactoryWeight { get; set; }

        /// <summary>
        /// 成立时间
        /// </summary>
        public DateTime? factoryTime { get; set; }
        /// <summary>
        ///  屠宰时间
        /// </summary>
        public DateTime? SlaughterTime { get; set; }



        /// <summary>
        /// 逻辑删除 false 未删  true 删除
        /// </summary>
        public bool IsDel { get; set; } = false;
    }
}
